package com.zhu.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 功能描述 出入库枚举
 * @author JoyBoyZH
 * @date 2022/6/3
 * @return
 */
@Getter
public enum OperationEnum {
    //出库
    OUT(0,"OUT"),
    //入库
    INPUT(1,"INPUT");

    @EnumValue
    private final Integer code;
    private final String name;

    OperationEnum(final Integer code, final String name) {
        this.code = code;
        this.name = name;
    }
}
